package org.jeecg.modules.demo.hd.service;

import org.jeecg.modules.demo.hd.entity.AppMyProjectClickdetail;
import org.jeecg.modules.demo.hd.entity.AppMyProjectDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.hd.vo.myProject.MyProjectDetailDayVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Description: 用户项目完成情况统计表
 * @Author: jeecg-boot
 * @Date: 2025-04-18
 * @Version: V1.0
 */
public interface IAppMyProjectDetailService extends IService<AppMyProjectDetail> {


    /**
     * 修改用户项目完成情况
     *
     * @param model
     */
    void updateUserProjectDetail(AppMyProjectClickdetail model);


    /**
     * 获取用户在该项目下的完成情况
     * @param userId
     * @param projectId
     * @return
     */
    List<MyProjectDetailDayVo> queryByProjectId(String userId, String projectId);
}
